using DevTeam;
namespace eFatura.Utility
{
    public class AppSession
    {
        static DataManager dataManager = null;
        static public DataManager DataManager
        {
            get { return dataManager; }
            set { dataManager = value; }
        }

        static MainForm mainForm;
        public static MainForm MainForm
        {
            get { return AppSession.mainForm; }
            set { AppSession.mainForm = value; }
        }

        static User userInfo;
        public static User UserInfo
        {
            get { return userInfo; }
            set { userInfo = value; }
        }

        public static int SirketId { get; set; }
        public static string Schema
        {
            get
            {
                return "[S" + SirketId + "].";
            }
        }

        public static string Version { get; set; }
        public static string Sirket { get; set; }

        public static Ayar Ayar { get; set; }
    }
}